summaryrefslogtreecommitdiffstats
path: root/src/MobSpawner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MobSpawner.cpp')
-rw-r--r--src/MobSpawner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MobSpawner.cpp b/src/MobSpawner.cpp
index fb73e0b1b..a1d375e9e 100644
--- a/src/MobSpawner.cpp
+++ b/src/MobSpawner.cpp
@@ -302,7 +302,7 @@ bool cMobSpawner::CanSpawnHere(cChunk * a_Chunk, int a_RelX, int a_RelY, int a_R
cMonster* cMobSpawner::TryToSpawnHere(cChunk * a_Chunk, int a_RelX, int a_RelY, int a_RelZ, EMCSBiome a_Biome, int& a_MaxPackSize)
{
- cMonster* toReturn = NULL;
+ cMonster* toReturn = nullptr;
if (m_NewPack)
{
m_MobType = ChooseMobType(a_Biome);